package com.atjinggu.jinggumail.coupon.controller;

import com.atjinggu.jinggumail.coupon.controller.test.TT1;
import com.atjinggu.jinggumail.coupon.entity.CouponEntity;

public class Test {
    public static void main(String[] args) {
        CouponEntity o1 = new CouponEntity();
        CouponEntity o2 = new CouponEntity();
        System.out.println(o1.equals(o2));
        System.out.println(o1 == o2);


        Object o3 = new Object();
        Object o4 = new Object();
        System.out.println(o3.equals(o4));
        System.out.println(o3 == o4);

        TT1 t1 = new TT1();
        TT1 t2 = new TT1();
        System.out.println(t1.equals(t2));
        System.out.println(t1 == t2);
    }
}
